Legacy device bridge for residential or non-residential networks

ABSTRACT

A legacy device bridge for use in a network, such as a wired or wireless residential network, is provided. The legacy device bridge performs protocol conversion to enable a network-attached entity that uses a packet-based communication protocol to communicate with and control legacy devices, such as consumer electronics, that rely exclusively on infrared (IR) or serial communication protocols. The legacy device bridge also performs a virtualization function that allows legacy devices to be advertised to the network as devices that comply with a packet-based discovery and control protocol, and to be controlled as such. The legacy device bridge is also adapted to probe, deduce and publish information relating to the state of a legacy device to other entities on the network.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention generally relates to networks. More particularly, the present invention relates to an interface device for discovering, communicating with and controlling devices attached to a network, such as a wired or wireless residential network.

[0003] 2. Background

[0004] Networks in homes and small offices are becoming increasingly popular. This is due, in large part, to an increase in the number of households and small offices having more than one personal computer (PC). Networks provide a variety of benefits to such multi-computer households and offices. For example, such networks enable the users of multiple PCs to share a common printer, to share documents and other files, and to access the Internet via a common network connection.

[0005] In light of this increasing popularity, it would be beneficial to extend home/office networks to permit communication with and control of conventional consumer electronic devices such as televisions, stereo equipment, video cassette recorders (VCRs) and digital video disk (DVD) players. However, the vast majority of consumer electronic devices employ infra-red (“IR”) communication as a means of remote device control. Alternatively, serial communication and radio frequency (RF) protocols are used. Unfortunately, these modes of communication are not compatible with packet-based communication protocols, such as TCP/IP, that are used for communication over many home/office networks.

[0006] It would also be beneficial to enable conventional consumer electronic devices to advertise themselves to devices on a home/office network and to publish command sets by which they can be controlled. Modem device discovery and control protocols such as the Universal Plug and Play (UPnP) protocol may be used to enable such functionality in network-attached devices. However, protocols such as UPnP require compliant products that: (a) are adapted for network connectivity and (b) possess modest computational and storage resources. Conventional consumer electronic devices such as those described above typically lack these features. Thus, consumers that wish to enable these features have little choice but to wait for protocol-compliant devices to come to market and discard their current legacy devices.

[0007] In addition to being incompatible with packet-based communication protocols and modem device discovery and control protocols, consumer electronic devices that rely on IR or serial communication protocols suffer from a number of other disadvantages. For example, the vast majority of legacy consumer electronic devices lack a feedback mechanism through which device state can be reported. Modem device discovery and control protocols such as the UPnP protocol typically allow compliant units to publish methods by which an interested network entity might query them for state information. The majority of consumer electronics, however, do not have status reporting mechanisms. For example, consumer IR, which is the dominant form of IR communication, is largely uni-directional.

[0008] Also, in order to control consumer electronic devices that rely on IR communication, IR transmitters (also known as “remotes”) must be placed within a very short range of a target device, and transmission paths must be free of obstructions, including physical barriers such as walls. The requirement of close physical proximity and a clear line-of-sight places severe limitations on the manner in which consumer electronic devices that rely on IR may be controlled.

[0009] What is desired, then, is a device that allows legacy consumer electronic devices to be controlled via a network, such as a wired or wireless residential network. To this end, the desired device should translate between packet-based communication protocols, such as TCP/IP, and communication protocols used by legacy consumer electronic devices, such as IR and serial protocols.

[0010] The desired device should also link the world of modem device discovery and control protocols (such as the UPnP protocol) to the world of legacy devices. For example, the desired device should provide UPnP control and management functionality to legacy devices, while permitting additional “true” UPnP devices to be added to a network as they become available.

[0011] The desired device should also be able to determine or deduce the state of one or more legacy consumer electronic devices. The desired device should then be able to publish this state information to interested network entities.

[0012] The desired device should further allow control of legacy devices through a network, thereby obviating the use of traditional direct line-of-sight IR controllers. Consequently, a user of the desired device should not need to be in the same room as or have a clear path to the devices that he or she wishes to control. The desired device should thus provide true “remote” control.

BRIEF SUMMARY OF THE INVENTION

[0013] The present invention is directed to a legacy device bridge that enables consumer electronic devices to be controlled via a network, such as a wired or wireless residential network. In an embodiment, the legacy device bridge translates between packet-based communication protocols, such as TCP/IP, and communication protocols used by legacy consumer electronic devices, such as IR and serial protocols, in order to perform this function.

[0014] The present invention is also directed to a virtualization appliance that links the world of modem device discovery and control protocols, such as the UPnP protocol, to the world of legacy devices. In an embodiment, the virtualization appliance provides UPnP control and management functionality to legacy devices, and also permits native UPnP devices to be added to a network as they become available.

[0015] The present invention is further directed to a legacy device bridge that extracts state information concerning legacy consumer electronic devices and provides that information to interested network devices. In an embodiment, the legacy device bridge uses probes to extract environmental information from which the state of one or more legacy consumer electronic devices may be determined. State information is then reported to interested network entities.

BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES

[0016] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the relevant art(s) to make and use the invention.

[0017]FIG. 1 depicts an example environment in which an embodiment of the present invention may operate.

[0018]FIG. 2 is a conceptual drawing of the physical structure of an exemplary operating environment that includes a legacy device bridge in accordance with an embodiment of the present invention.

[0019]FIG. 3 illustrates a legacy device bridge in accordance with an embodiment of the present invention.

[0020]FIG. 4 depicts a flowchart of a method for controlling legacy devices using a legacy device bridge in accordance with an embodiment of the present invention.

[0021]FIGS. 5A, 5B and 5C illustrate examples of a legacy device bridge in accordance with various embodiments of the present invention.

[0022]FIG. 6 illustrates a network system that provides for remote storage of legacy device codes in accordance with such an embodiment of the present invention

[0023]FIG. 7 depicts a flowchart of a method for controlling legacy devices using a legacy device bridge in accordance with an embodiment of the present invention, wherein legacy device control codes are stored remotely.

[0024]FIG. 8 depicts a legacy device bridge 800 in accordance with an embodiment of the present invention that includes an IR beacon for providing location awareness information.

[0025]FIG. 9 depicts a flowchart of a method for using a legacy device bridge for providing location awareness information in accordance with an embodiment of the present invention.

[0026]FIG. 10 illustrates a legacy device virtualization appliance in accordance with an embodiment of the present invention.

[0027]FIG. 11 depicts a flowchart of a method for legacy device virtualization, advertisement and control in accordance with an embodiment of the present invention.

[0028]FIG. 12 illustrates a legacy device bridge adapted for extracting and reporting legacy device state in accordance with an embodiment of the present invention.

[0029]FIG. 13 depicts a processor-based computer system for implementing various features of the present invention.

[0030] The features and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify corresponding elements throughout. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The drawings in which an element first appears is indicated by the leftmost digit(s) in the corresponding reference number.

DETAILED DESCRIPTION OF THE INVENTION

[0031] A. Overview

[0032] A legacy device bridge for use in a network, such as a wired or wireless residential network, is provided. As will be described in more detail herein, the legacy device bridge performs protocol conversion to enable a network-attached entity that uses a packet-based communication protocol to communicate with and control legacy devices, such as consumer electronics, that rely exclusively on infrared (IR) or serial communication protocols. The legacy device bridge also performs a virtualization function that allows legacy devices to be advertised to the network as devices that comply with a packet-based discovery and control protocol, such as the Universal Plug and Play (UPnP) protocol, and to be controlled as such. The legacy device bridge is also adapted to probe, deduce and publish information relating to the state of a legacy device to other entities on the network.

[0033] B. Example Operating Environment

[0034]FIG. 1 depicts an example environment 100 in which embodiments of the present invention can operate. It should be understood that example operating environment 100 is shown for illustrative purposes only and does not limit the present invention. Other implementations of example operating environment 100 will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein, and the invention is directed to such other implementations.

[0035] As depicted in FIG. 1, example operating environment 100 includes a plurality of devices that are communicatively connected to a network 102. In an embodiment, network 102 comprises a residential network for communicatively connecting devices within a home. In accordance with such an embodiment, network 102 may comprise, for example, a home phone line network, a home power line network, an Ethernet network, a wireless network, or any combination of the above. However, the invention is not limited to residential networks, and network 102 may comprise any type of residential or non-residential network, including but not limited to a local area network (LAN) or a wide-area network (WAN), such as the Internet.

[0036] As will be described in more detail below, network 102 comprises one or more legacy device bridges 124 a, 124 b and 124 c in accordance with the present invention. These legacy device bridges facilitate communication between devices adapted for communication in accordance with a packet-based communication protocol, such as TCP/IP, and legacy consumer electronic devices that are not so adapted. Devices adapted for communication in accordance with a packet-based communication protocol can include, for example, a personal digital assistant (PDA) 106, a tablet PC 108, and/or a PC-based computer system 110. Legacy consumer electronic devices that are not so adapted, and that may rely on, for example, IR or serial communication protocols, can include a television 112, a VCR and/or DVD player 114, a stereo receiver 116, an electronic thermostat 118, a lamp 120, and/or a video camera 122. These examples are not intended to be limiting, however, and an embodiment of the present invention may be used to facilitate communication between legacy and non-legacy devices other than those shown in FIG. 1.

[0037] In accordance with example operating environment 100, centralized control of network 102 and the various entities connected thereto is provided by a control server 104. In particular, control server 104 manages communication between and provides shared resources to various entities attached to network 102. Controllers, which can include, for example PDA 106, tablet PC 108, and/or PC-based computer system 110, permit a user to interface with control server 104 and control the function of other devices and/or applications coupled to network 102, such as television 112, VCR and/or DVD player 114, stereo receiver 116, electronic thermostat 118, lamp 120, and/or video camera 122.

[0038] A more detailed example of control server 104, controllers, and a network that provides centralized command and control of devices and applications in residential or non-residential environment may be found in commonly owned, co-pending U.S. patent application Ser. No. 10/180,500, entitled “Method, System, and Computer Program Product for Managing Controlled Residential or Non-residential Environments,” the entirety of which is incorporated by reference herein. As will be appreciated by persons skilled in the relevant art(s) based on the teachings provided herein, a legacy device bridge in accordance with an embodiment of the present invention may advantageously be used to implement controlled residential and non-residential environments as disclosed in that application.

[0039] However, as stated above, example operating environment 100 is shown for illustrative purposes only and does not limit the present invention. Accordingly, embodiments of the present invention may also be used in a de-centralized network environment, such as an environment without a centralized control server 104. For example, an embodiment of the present invention may operate in a network environment in which network control and management functionality is distributed among one or more legacy device bridges, thereby forming a peer-to-peer network.

[0040]FIG. 2 is a conceptual drawing of the physical structure of an exemplary operating environment 200 that includes a legacy device bridge 208 in accordance with an embodiment of the present invention. As shown in FIG. 2, the exemplary operating environment includes a centralized control system 202, a first level of addressable and discoverable devices 204, and a second level of legacy devices 206. Control system 202 coordinates communication between and access to the various devices included within operating environment 200. In an embodiment, control system 202 is responsible for storing information pertaining to the persistent state of devices, the location of devices (such as room assignments), user preferences and control macros, and command codes for communicating with one or more devices.

[0041] Addressable and discoverable devices 204 comprise one or more devices that are communicatively coupled to control system 202 via a network, such as a residential network, and that are adapted to be assigned a network address and discovered and controlled by other devices on the network. In accordance with an embodiment of the present invention, addressable and discoverable devices 204 are adapted for compliance with a packet-based discovery and control protocol, such as the UPnP protocol. Addressable and discoverable devices 204 may comprise, for example, one or more UPnP-compliant PCs, peripherals, intelligent appliances, and/or wireless devices.

[0042] Legacy devices 206 comprise devices that can be controlled within operating environment 200, but which are not specially adapted for discovery and control by other devices on the network. In accordance with an embodiment of the present invention, legacy devices 206 comprise conventional consumer electronic devices that rely on IR or serial communication and control protocols, and that are not compliant with a packet-based discovery and control protocol, such as the UPnP protocol. Legacy devices 206 may comprise, for example, one or more televisions, VCRs, DVD players, stereo receivers and/or other audio equipment, video cameras, thermostats, or lamps.

[0043] As shown in FIG. 2, legacy device bridge 208 comprises an interface between addressable and discoverable devices 204 and legacy devices 206. As will be described in more detail herein, legacy device bridge 208 performs this function by converting between a packet-based communication protocol, such as TCP/IP, and IR or serial-based communication protocols.

[0044] As will also be described herein, in an embodiment, legacy device bridge 208 further provides a virtual representation of each of legacy devices 206 to addressable and discoverable devices 204 and central controller 202, thereby causing legacy devices 206 to appear on the network as addressable and discoverable devices that comply with a packet-based discovery and control protocol, such as the UPnP protocol, and to be controlled as such. In an alternate embodiment, central controller 202 performs the function of providing a virtual representation of each of legacy devices 206 to addressable and discoverable devices 204.

[0045] Finally, as will also be described herein, in an embodiment, legacy device bridge 208 is also adapted to probe, deduce and report information relating to the state of legacy devices 206 to other entities on the network. In a further embodiment, legacy device bridge 208 also stores state information pertaining to legacy devices 206.

[0046] C. Legacy Device Bridge in Accordance with Embodiments of the Present Invention

[0047]FIG. 3 illustrates an example legacy device bridge 302 in accordance with an embodiment of the present invention. As shown in FIG. 3, legacy device bridge 302 comprises at least one network interface 304 for communicating with devices on a network using a packet-based communication protocol, such as TCP/IP, and at least one legacy device interface 306 for communicating with legacy devices using, for example, an IR or serial communication protocol. In an embodiment, network interface 304 comprises a wireless transceiver adapted for communication over a wireless local area network (WLAN) in accordance with the IEEE 802.11b communication protocol, or any of the other IEEE 802.11 protocols, including but not limited to the 802.11, 802.11a, 802.11b or 802.11g protocols. In accordance with such an embodiment, network connectivity is achieved by situating legacy device bridge 302 in a location that is within the effective range of a wireless network access point.

[0048] In an embodiment, legacy device bridge 302 comprises an IP-addressable device that is adapted to use standard Internet protocols such as Dynamic Host Configuration Protocol (DHCP) to automatically configure itself for network communication. Accordingly, other network entities can communicate with legacy device bridge 302 via network interface 304 by using the IP address assigned to legacy device bridge 302. As will be discussed in more detail below, legacy device bridge 302 may also use a device discovery and control protocol, including but not limited to the UPnP protocol, to advertise its presence to other entities on the network and to publish command sets for legacy devices that it controls.

[0049]FIG. 4 depicts a flowchart 400 of a method for controlling legacy devices, such as conventional consumer electronic devices, using a legacy device bridge in accordance with an embodiment of the present invention. The invention, however, is not limited to the description provided by the flowchart 400. Rather, it will be apparent to persons skilled in the relevant art(s) from the teachings provided herein that other functional flows are within the scope and spirit of the present invention. The flowchart 400 will be described with continued reference to the exemplary legacy device bridge 302 of FIG. 3, although the invention is not limited to that embodiment.

[0050] The method of flowchart 400 begins at step 402, in which a network device, which is adapted for communication in accordance with a packet-based communication protocol, sends a command to control a legacy device to legacy device bridge 302. Commands can originate from anywhere in the network, which may include locations physically distant from legacy device bridge 302. At step 404, legacy device bridge 302 receives the command via network interface 304. At step 406, legacy device bridge 302 translates the received command from a packet-based communication protocol to a protocol suitable for receipt by the legacy device, such as an IR protocol or a serial protocol. This translation function may be executed in software, hardware, or a combination thereof. At step 408, legacy device bridge 302 transmits the translated command via legacy device interface 306 to the legacy device for which it is intended.

[0051]FIGS. 5A, 5B and 5C illustrate further examples of a legacy device bridge in accordance with various embodiments of the present invention. For example, FIG. 5A depicts a legacy device bridge 502 that includes an IP network interface 504 for communicating with devices on an IP network and an IR interface 506 for communicating with legacy devices using an IR communication protocol. Legacy device bridge 502 converts IP-based commands received via IP network interface 504 into a series of IR pulses which are then transmitted over IR interface 506 to a legacy device. In an embodiment, legacy device bridge 502 includes multiple IR interfaces 506 for communicating with multiple legacy devices.

[0052] In an embodiment, IR interface 506 comprises an IR transmitter adapted for wireless one-way communication with IR-capable legacy devices. In an alternate embodiment, IR interface 506 comprises an IR transmitter/receiver pair, or IR transceiver, adapted for wireless two-way communication with IR-capable legacy devices. In accordance with these embodiments, wireless IR communication with a legacy device is achieved by situating legacy device bridge 502 in a location that is along a clear line-of-sight path to and within a certain predefined transmission range of the legacy device.

[0053] In an alternate embodiment, IR interface 506 comprises an interface adapted for wired communication with a legacy device by means of, for example, an IR dongle. In accordance with this alternate embodiment, legacy device bridge 502 need not be situated in any particular location for effective communication with the legacy device.

[0054]FIG. 5B depicts a legacy device bridge 508 that includes an IP network interface 510 for communicating with devices on an IP network and a serial interface 512 for communicating with legacy devices using a serial communication protocol. Legacy device bridge 508 converts IP-based commands received via IP network interface 510 into a serial data stream which is then transmitted over serial interface 512 to a legacy device. In an embodiment, legacy device bridge 508 includes multiple serial interfaces 512 for communicating with multiple legacy devices.

[0055] In an embodiment, serial interface 512 comprises a Universal Serial Bus (USB) interface for communicating in accordance with the USB protocol. In an alternate embodiment, serial interface 512 comprises an RS-232 interface for communicating in accordance with the RS-232 protocol. However, these examples are not intended to be limiting and other serial communication protocols may be used.

[0056]FIG. 5C depicts a legacy device bridge 514 that includes an IP network interface 516 for communicating with devices on an IP network, an IR interface 518 for communicating with legacy devices using an IR communication protocol, and a serial interface 520 for communicating with legacy devices using a serial communication protocol. Legacy device bridge 514 converts IP-based commands received via IP network interface 516 into a series of IR pulses which are then transmitted over IR interface 518 to a legacy device. Legacy device bridge 514 also converts IP-based commands received via IP network interface 516 into a serial data stream which is then transmitted over serial interface 520 to a legacy device. In an embodiment, legacy device bridge 514 includes multiple IR interfaces 518 for communicating with multiple legacy devices and/or multiple serial interfaces 520 for communicating with multiple legacy devices.

[0057] 1. Remote Storage and Transmission of Legacy Device Control Codes

[0058] In accordance with an embodiment of the present invention, network devices generate commands from a common set of high-level commands, such as “power on” and “power off,” to control legacy devices connected to the network via a legacy device bridge. These high-level commands are then mapped to low-level IR or serial control codes unique to each legacy device. In an embodiment, the IR or serial control codes for each legacy device are stored in the legacy device bridge that controls the device, and the legacy device bridge performs the necessary function of mapping high-level commands to low-level commands.

[0059] Alternatively, low-level IR or serial control codes are stored in a device other than the legacy device bridge. For example, in order to minimize the storage resources required to implement the legacy device bridge, low-level IR or serial control codes can be stored in a more powerful network device, such as a server located on the network. This mechanism of storing the low-level control codes in a single location has the added advantage of allowing for easy updates of those codes, as opposed to storing a copy of the low-level control codes in every network device that can operate as a controller of the legacy device.

[0060]FIG. 6 illustrates a network system 600 that provides for remote storage of legacy device codes in accordance with such an embodiment of the present invention. Network system 600 includes a controller 604, which may comprise for example a handheld controller or a PC, a control server 606, and a legacy device bridge 608, each of which is communicatively coupled to an IP network 602. Legacy device bridge 608 is also in communication with legacy devices 610 a, 610 b and 610 c. The low-level IR or serial control codes 612 necessary for controlling legacy devices 610 a-610 c are stored in control server 606. Control server 606 may also store other low-level IR or serial control codes necessary for controlling legacy devices connected to IP network 602 via other legacy device bridges (not shown in FIG. 6).

[0061] These low-level IR or serial control codes may be provided to the control server 606 using a variety of techniques. In an embodiment, a user manually enters the control codes into legacy device bridge 608, or some other network entity, and they are then uploaded to control server 606. In an alternate embodiment, legacy device bridge 608 is configured to obtain the control codes from a legacy device through an automatic process, such as two-way IR queries between legacy device bridge 608 and the legacy device, and then to upload the control codes to control server 606.

[0062]FIG. 7 depicts a flowchart 700 of a method for controlling legacy devices using a legacy device bridge in accordance with an embodiment of the present invention, wherein legacy device codes are stored remotely. The invention, however, is not limited to the description provided by the flowchart 700. Rather, it will be apparent to persons skilled in the relevant art(s) from the teachings provided herein that other functional flows are within the scope and spirit of the present invention. The flowchart 700 will be described with continued reference to network system 600 of FIG. 6, although the invention is not limited to that embodiment.

[0063] The method of flowchart 700 begins at step 702, in which portable controller 604 generates a high-level command for controlling one of legacy devices 610 a-610 c. For the purposes of this example, we will assume that portable controller generates a high-level command for controlling legacy device 610 a. The high-level command may be selected from a predefined list of high-level commands that are stored by portable controller 604, or which are made available to portable controller by control server 606, legacy device bridge 608, or some other entity on network 602.

[0064] At step 704, portable controller 604 transmits the high-level command to control server 606 over IP network 602. At step 706, control server 606 receives the high-level command and maps it to a corresponding one of the low-level serial or IR control codes for controlling legacy device 610 a, which are stored in control server 606. At step 708, control server 606 transmits the corresponding low-level serial or IR control code to the appropriate legacy device bridge 608. At step 710, legacy device bridge 608 converts the low-level control code, which has been transmitted to it in an IP format, to an appropriate format for transmission to legacy device 610 a, such as to a series of IR pulses or a serial stream of data. At step 712, legacy device bridge transmits the low-level control code to the appropriate legacy device 610 a.

[0065] 2. Position Finding in Indoor Environments

[0066] In accordance with an embodiment of the invention, the legacy device bridge may be configured to serve as an IR beacon for providing location awareness information. For example, the legacy device bridge may be configured to serve as an IR beacon for identifying the location of a handheld controller within a controlled residential environment. Such location awareness information may then be used by a network entity, such as a central server, to reconfigure the handheld controller for command and control of selected devices within a certain vicinity of the handheld controller.

[0067] A more complete description of the use of location awareness information for managing controlled environments may be found in commonly owned, co-pending U.S. patent application Ser. No. 10/180,500, entitled “Method, System, and Computer Program Product for Managing Controlled Residential or Non-residential Environments,” the entirety of which is incorporated by reference herein. As will be appreciated by persons skilled in the relevant art(s) based on the teachings provided herein, a legacy device bridge in accordance with an embodiment of the present invention may advantageously be used to implement controlled residential and non-residential environments as disclosed in that application.

[0068] In an embodiment, the legacy device bridge is equipped with an IrDA (Infrared Data Association) beacon for providing location awareness information. Given the short range of IR pulses, IrDA beacons are an efficient way of providing coarse-granularity position finding in an indoor environment. In accordance with such an embodiment, the legacy device bridge is programmed to emit a set of infrared pulses that uniquely identifies the bridge to handheld controllers which are communicatively coupled to a network. These codes can then be mapped to, or associated with, room locations by a central server coupled to the network, or, alternatively, a mapping table can be stored in the handheld controller for performing this function.

[0069] In an embodiment, the IR beacon pulse is run-time configurable as is the beacon frequency. For example, the legacy bridge device can emit an identifier (ID) that conforms to standard IR data transfer protocols such as IrDA. In an embodiment, the legacy device bridge transmits an ID that corresponds to its globally unique MAC (media access code) address.

[0070]FIG. 8 depicts a legacy device bridge 800 in accordance with an embodiment of the present invention that includes an IR beacon for providing location awareness information. As shown in FIG. 8, legacy device bridge 800 includes a wireless interface 802, such as an 802.11b transceiver, for providing wireless connectivity to an IP network, one or more IR interfaces 804 for communicating with IR-enabled legacy devices, one or more serial interfaces 806 for communicating with serial-enabled legacy devices, and an IrDA beacon 808. In accordance with this embodiment, legacy device bridge 800 must be positioned so that there is a clear transmission path between IrDA beacon 808 and mobile controllers passing within its vicinity, thereby ensuring that the mobile controllers can receive signals transmitted by IrDA beacon 808.

[0071]FIG. 9 depicts a flowchart 900 of a method for using a legacy device bridge for providing location awareness information in accordance with an embodiment of the present invention. The invention, however, is not limited to the description provided by the flowchart 900. Rather, it will be apparent to persons skilled in the relevant art(s) from the teachings provided herein that other functional flows are within the scope and spirit of the present invention.

[0072] The method of flowchart 900 begins at step 902, in which a legacy device bridge emits an IR signal to a mobile controller, wherein the IR signal comprises a unique ID assigned to the legacy device bridge. As discussed above, the IR signal may be emitted by an IrDA beacon which comprises part of the legacy device bridge. At step 904, the mobile controller receives the IR signal and extracts the unique ID of the legacy device bridge therefrom. At step 906, the mobile controller transmits the unique ID to a central server over an IP network. At step 908, the central server maps the unique ID to a given location within a controlled environment. In an embodiment, this mapping function is performed by accessing a table stored by the central server that maps legacy device bridges to locations within the controlled environment. At step 910, the central server sends configuration information to the mobile controller based on the location identified in step 908. This configuration information is used to reconfigure the mobile controller for the command and control of selected devices within a certain vicinity of the location identified in step 908.

[0073] In an alternate embodiment of the method of flowchart 900, the mobile controller performs the function of mapping the unique ID to a given location within a controlled environment. In accordance with this alternate embodiment, the mobile controller transmits an identified location to the central server, and the central server sends configuration information to the mobile controller based on the identified location.

[0074] 3. Stateful Binding of Stateless Devices

[0075] A legacy device bridge in accordance with an embodiment of the present invention is configured to prevent communication between the legacy device bridge and more than one control server, such as control server 104. This could occur, for example, where multiple control servers are sharing, either advertently or inadvertently, a wireless network (for example, in a WLAN, they share the same SSID (Service Set Identifier)). Such an overlap may expose a network-controlled environment to undesired outside control, such as control by a neighbor.

[0076] In an embodiment, the legacy device bridge avoids this problem by storing the network address of the first control server that contacts the bridge after it is connected to the network. Then, future incoming packets received from any other address are discarded. In an alternate embodiment, the address of the control server is configured out-of-band. For example, the address of the control server may be provided to the legacy device bridge using IR or serial communication with a corresponding IR or serial interface. After the address has been so configured, incoming packets received from any other address are discarded.

[0077] 4. Miscellaneous Features

[0078] In an embodiment of the present invention, the legacy device bridge is adapted to act as a room controller. In accordance with such an embodiment, the legacy device bridge is adapted as follows:

[0079] The legacy device bridge is adapted to automatically configure itself in most home networking environments, although some cases may require direct user intervention in order to configure the bridge.

[0080] To facilitate ease of use, the legacy device bridge is adapted for IrDA out-of-band configuration. For example, the legacy device bridge can be programmed to accept network configuration parameters from an IR port using industry-standard data transmission protocols.

[0081] The legacy device bridge is adapted to learn new legacy device codes, such as IR or serial control codes. For example, although a sizable body of IR codes exist in commercial databases, the broad range of available consumer electronic devices make claims of absolute compatibility difficult. Thus, in order to guarantee interoperability with legacy consumer electronic devices, a legacy device bridge in accordance with an embodiment of the present invention is adapted to be placed in a state where it can receive and store new IR or serial control codes. In an embodiment, the IR or serial control codes may be transmitted by another device, such as an IR remote control device. The legacy device bridge may store learned codes internally or upload them to a server on the network for storage.

[0082] Cost is a major factor for the design a legacy device bridge in accordance with the present invention. Accordingly, in an embodiment, software is used to perform functions typically assigned to hardware, thereby reducing overall part-count. For example, in an embodiment, consumer IR signals for communicating with legacy devices and IrDA signals for providing location awareness information are multiplexed onto a single IR emitter/receiver pair.

[0083] D. Method for Legacy Device Virtualization, Advertisement and Control in Accordance with Embodiments of the Present Invention

[0084] A legacy device bridge in accordance with an embodiment of the present invention comprises a virtualization appliance that enables a legacy device, such as a conventional consumer electronic device, to be advertised to and controlled by network-connected elements as if the legacy device were compliant with a packet-based discovery and control protocol, such as UPnP. As will be appreciated by persons skilled in the relevant art(s), UPnP is an open industry standard that uses Internet and Web protocols to enable devices such as PCs, peripherals, intelligent appliances, and wireless devices to be connected to a network and to become automatically aware of each other. In accordance with UPnP, when a user plugs a device into the network, the device configures itself, acquires a TCP/IP address, and uses a discovery protocol based on the Hypertext Transfer Protocol (HTTP) to announce its presence to other devices on the network. Other UPnP-compliant network entities may then negotiate a communication protocol with the device, determine its capabilities, and control it.

[0085] In accordance with an embodiment of the present invention, the legacy device bridge acts as a UPnP proxy for a piece of legacy equipment. The bridge advertises itself to other network entities as a UPnP device, exhibiting attributes similar to the legacy device it is masquerading as. When UPnP commands arrive from the network, the legacy device bridge translates them into an appropriate set of commands for controlling the legacy device, such as IR commands or serial commands. Note that although this embodiment is described with respect to UPnP virtualization, the present invention is not limited to UPnP virtualization, but also encompasses legacy device virtualization in accordance with other packet-based discovery and control protocols, including but not limited to Jini™, developed by Sun Microsystems of Santa Clara, Calif., or the Rendezvous™ protocol, which is an open protocol developed, in part, by Apple Computer, Inc. of Cupertino, Calif.

[0086]FIG. 10 illustrates a legacy device virtualization appliance 1002 in accordance with an embodiment of the present invention. As shown in FIG. 10, virtualization appliance 1002 comprises at least one network interface 1004 for communicating with devices on a network using a packet-based discovery and control protocol, such as UPnP, and at least one legacy device interface 1006 for communicating with legacy devices using, for example, an IR or serial communication protocol. In an embodiment, network interface 1004 comprises an 802.11b wireless transceiver adapted for communication with IP networks. In accordance with such an embodiment, network connectivity is achieved by situating virtualization appliance 1002 in a location that is within the effective range of a wireless network access point.

[0087]FIG. 11 depicts a flowchart 1100 of a method for legacy device virtualization, advertisement and control in accordance with an embodiment of the present invention. The invention, however, is not limited to the description provided by the flowchart 1100. Rather, it will be apparent to persons skilled in the relevant art(s) from the teachings provided herein that other functional flows are within the scope and spirit of the present invention. The flowchart 1100 will be described with continued reference to the exemplary virtualization appliance 1002 of FIG. 10, although the invention is not limited to that embodiment.

[0088] The method of flowchart 1100 begins at step 1102, in which the virtualization appliance 1002 detects a legacy device, such as a consumer electronic device, that it will control. By detecting legacy devices, virtualization appliance 1002 builds a list of legacy devices under its control. In an embodiment, virtualization appliance 1002 is made aware of a legacy devices through manual programming of virtualization appliance 1002 by a user. In an alternate embodiment, virtualization appliance 1002 detects a legacy device through an automatic process, such as two-way IR queries between virtualization appliance 1002 and a legacy device.

[0089] At step 1104, virtualization appliance 1002 acquires and stores control codes for the legacy device. In an embodiment, these control codes are obtained through manual programming of virtualization appliance 1002 by a user. In an alternate embodiment, virtualization appliance 1002 obtains the control codes through an automatic process, such as two-way IR queries between virtualization appliance 1002 and a legacy device.

[0090] At step 1106, virtualization appliance 1002 advertises the legacy device to the network as a UPnP device possessing attributes and controls similar to the legacy device it is masquerading for. In an embodiment, this step includes publishing a list of standard UPnP commands for controlling the legacy device, wherein the published UpnP commands correspond to one or more of the low-level legacy device codes acquired in step 1104. As a result of this step, entities on the network perceive virtualization appliance 1002 as a piece of IP-addressable and controllable consumer electronics.

[0091] At step 1108, a network entity transmits a standard UPnP command, such as “Power On” or “Power Off”, to control the legacy device, and this UPnP command is received by virtualization appliance 1002. At step 1110, virtualization appliance 1002 converts the UPnP command to a corresponding control code for the legacy device, and at step 1112, virtualization appliance 1002 transmits the corresponding control code to the legacy device. By converting UpnP commands to legacy device control codes in this manner, virtualization appliance 1002 acts as a transparent proxy between network entities and the legacy device.

[0092] In an alternate embodiment of the present invention, legacy device virtualization is performed by a network entity other than the legacy device bridge, such as by control server 102 described above in reference to FIG. 1. In accordance with this embodiment, control server 102 performs the functions of acquiring and storing control codes for a legacy device, advertising the legacy device to the network as a UPnP device, and converting UPnP commands received from network entities to corresponding control codes for the legacy device. The control server then sends these control codes to a legacy device bridge that converts them from an IP format to the appropriate legacy device format, such as an IR or serial format. Thus, in accordance with this embodiment, control server 102 performs the virtualization functions and uses the legacy device bridge as a simple IP-to-IR/serial converter-transmitter. The decision as to whether the control server 102 or the legacy device bridge is used to perform the virtualization function turns primarily on cost. One of the advantages of using a centralized server as the virtualization machine is that the legacy device bridges can be made more cheaply, since they will require less resources for processing and storage.

[0093] E. Method for Reporting State in Legacy Devices in Accordance with Embodiments of the Present Invention

[0094] An embodiment of the present invention facilitates the reporting of device state in legacy consumer electronic devices. Conventional device discovery and control protocols, such as UPnP, typically allow compliant devices to publish methods by which interested network entities may query them for state information. For example, a UPnP home controller might wish to query a UPnP TV to see if it is currently on. The majority of conventional consumer electronics, however, do not provide such status reporting mechanisms.

[0095] Accordingly, a legacy device bridge in accordance with an embodiment of the present invention uses probes to extract information from its environment to extrapolate device state. For example, FIG. 12 depicts a legacy device bridge 1202 adapted for extracting and reporting legacy device state in accordance with an embodiment of the present invention. As shown in FIG. 12, legacy device bridge 1202 comprises a light-sensitive probe 1204 that is aimed at the screen of a legacy television 1208. Light sensitive probe 1204 comprises a simple on/off meter that is used to determine whether legacy television 1206 is on or off. This state information may then be reported by legacy device bridge 1202 to other devices on a packet network via a network interface 1206. In an embodiment, legacy device bridge 1202 comprises a virtualization appliance that publishes state information to other devices on a packet network in accordance with a packet-based discovery and control protocol, such as UPnP.

[0096] As will be appreciated by persons skilled in the relevant art(s), state probes other than a light sensitive probe may be used to extract information relating to the state of a legacy device in accordance with embodiments of the present invention. The types of state probe will vary with respect to the device state that the legacy device bridge is attempting to discern.

[0097] F. Processor-Based Implementations

[0098] The functions of a legacy device bridge, virtualization appliance, control server or other network entity described herein, may be implemented in software and executed by one or more processor-based computer systems. FIG. 13 depicts an example computer system 1300 that may execute software for implementing the features of the present invention, including, but not limited to, any or all of the method steps of flowcharts 400, 700, 900, or 1100 described above in reference to FIGS. 4, 7, 9 and 11, respectively.

[0099] As shown in FIG. 13, example computer system 1300 includes a processor 1302 for executing software routines in accordance with embodiments of the present invention. Although a single processor is shown for the sake of clarity, computer system 1300 may also comprise a multi-processor system. Processor 1302 is connected to a communications infrastructure 1304 for communication with other components of computer system 1300. Communications infrastructure 1304 may comprise, for example, a communications bus, cross-bar, or network.

[0100] Computer system 1300 further includes a main memory 1306, such as a random access memory (RAM), and a secondary memory 1308. Secondary memory 1308 may include, for example, a hard disk drive 1310 and/or a removable storage drive 1312, which may comprise a floppy disk drive, a magnetic tape drive, an optical disk drive, flash memory, or the like. Removable storage drive 1312 reads from and/or writes to a removable storage unit 1314 in a well known manner. Removable storage unit 1314 may comprise a floppy disk, magnetic tape, optical disk, or the like, which is read by and written to by removable storage drive 1312. As will be appreciated by persons skilled in the relevant art(s), removable storage unit 1314 includes a computer usable storage medium having stored therein computer software and/or data.

[0101] In alternative embodiments, secondary memory 1308 may include other similar means for allowing computer programs or other instructions to be loaded into computer system 1300. Such means can include, for example, a removable storage unit 1318 and an interface 1316. Examples of a removable storage unit 1318 and interface 1316 include a program cartridge and cartridge interface (such as that found in video game console devices), a removable memory chip (such as an EPROM, or PROM) and associated socket, and other removable storage units 1318 and interfaces 1316 that allow software and data to be transferred from removable storage unit 1318 to computer system 1300.

[0102] Computer system 1300 further includes a display interface 1320 that forwards graphics, text, and other data from communications infrastructure 1304 or from a frame buffer (not shown) for display to a user on a display unit 1322.

[0103] Computer system 1300 also includes a communication interface 1324. Communication interface 1324 allows software and data to be transferred between computer system 1300 and external devices via a communication path 1326. Examples of communication interface 1324 include a modem, a network interface (such as Ethernet card or 802.11b interface), a communication port, and the like. Communication interface 1324 may also include I/O communication interfaces common to consumer electronic devices, such as one or more IR ports and/or serial ports. Software and data transferred via communication interface 1324 are in the form of signals 1328 which can be electronic, electromagnetic, optical or other signals capable of being received by communication interface 1324. These signals 1328 are provided to communication interface 1324 via communication path 1326.

[0104] As used herein, the term “computer program product” may refer, in part, to removable storage unit 1314, removable storage unit 1318, a hard disk installed in hard disk drive 1310, or a carrier wave carrying software over communication path 1326 (wireless link or cable) to communication interface 1324. A computer useable medium can include magnetic media, optical media, or other recordable media, or media that transmits a carrier wave or other signal. These computer program products are means for providing software to computer system 1300.

[0105] Computer programs (also called computer control logic) are stored in main memory 1306 and/or secondary memory 1308. Computer programs can also be received via communication interface 1324. Such computer programs, when executed, enable computer system 1300 to perform the features of the present invention as discussed herein. In particular, the computer programs, when executed, enable processor 1302 to perform the features of the present invention. Accordingly, such computer programs represent controllers of the computer system 1300.

[0106] The features of the present invention can be implemented as control logic in software, firmware, hardware or any combination thereof. In an embodiment where features of the present invention are implemented using software, the software may be stored in a computer program product and loaded into computer system 1300 using removable storage drive 1312, hard disk drive 1310 or communication interface 1324. Alternatively, the computer program product may be downloaded to computer system 1300 over communication path 1326. The software, when executed by processor 1302, causes processor 1302 to perform features of the invention as described herein.

[0107] In another embodiment, features of the present invention are implemented in firmware and/or hardware using, for example, hardware components such as application specific integrated circuits (ASICs). Implementation of a hardware state machine so as to perform the functions described herein will be apparent to persons skilled in the relevant art(s) from the teachings herein.

[0108] G. Alternate Embodiments of the Present Invention

[0109] It should be noted that the legacy device bridge and virtualization appliance described herein are not limited to use of the 802.11b standard as a wireless communications medium. Although 802.11b may be used due to its low cost-of-goods and relative speed, any IP-capable wireless protocol, including but not limited to 802.11a or 802.11g, can be used as a substitute. Moreover, the legacy device bridge and virtualization appliance is not limited to use of a wireless protocol for IP-based networking. Although wireless devices may be used due to their convenience and lack of cabling, wireline communications, including but not limited to Ethernet, home phone line, or home power line networking, can be used as a substitute.

[0110] It should also be noted that the legacy device bridge and virtualization appliance described herein is not limited to the use of UPnP as a discovery and control protocol. Although UPnP may be used because of its growing acceptance as an industry standard in device discovery and control, any conventional packet-based discovery and control protocol, including but not limited to Jini™, a protocol developed by Sun Microsystems of Santa Clara, Calif., or the Rendezvous™ protocol, an open protocol developed, in part, by Apple Computer, Inc. of Cupertino, Calif., can be used as a substitute.

[0111] Furthermore, the virtualization appliance described herein is not limited to acting as a proxy for a single piece of legacy equipment. Rather, the virtualization appliance can advertise itself as any number of devices. Furthermore, in an embodiment, the virtualization appliance can also query a legacy device to obtain Wiserial command sets, thus obviating the need to store IR/serial command sets on the appliance or a separate network server.

[0112] H. Conclusion

[0113] While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be understood by those skilled in the relevant art(s) that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. Accordingly, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. 

What is claimed is:
 1. A method for controlling a consumer electronic device via a network that communicates information in accordance with a packet-based communication protocol, wherein the consumer electronic device is not adapted for communication in accordance with the packet-based communication protocol, comprising: receiving a command from a device communicatively coupled to the network, wherein said command is formatted in accordance with the packet-based communication protocol; converting said command into a format suitable for communication with the consumer electronic device; and transmitting said converted command to the consumer electronic device.
 2. The method of claim 1, wherein said receiving a command from a device communicatively coupled to the network comprises receiving a command formatted in accordance with the Internet Protocol.
 3. The method of claim 1, wherein said converting said command into a format suitable for communication with the consumer electronic device comprises converting said command into a format in accordance with an infrared communication protocol.
 4. The method of claim 1, wherein said converting said command into a format suitable for communication with the consumer electronic device comprises converting said command into a format in accordance with a serial communication protocol.
 5. The method of claim 1, wherein said command comprises a generic command for controlling devices communicatively coupled to the network, and wherein said converting said command into a format suitable for communication with the consumer electronic device comprises: translating said generic command to at least one proprietary command for controlling the consumer electronic device.
 6. The method of claim 1, further comprising: transmitting an infrared signal from an infrared beacon to a portable controller device communicatively coupled to the network, said infrared signal for providing said portable controller device with location awareness information.
 7. The method of claim 1, further comprising: acquiring a network address for communication with the consumer electronic device; and providing said network address to one or more devices communicatively coupled to the network.
 8. The method of claim 7, further comprising: providing a command set to said one or more devices communicatively coupled to the network, wherein said command set comprises a plurality of commands for controlling the consumer electronic device.
 9. The method of claim 8, wherein said providing a command set comprises providing a plurality of commands that comply with the Universal Plug and Play protocol.
 10. The method of claim 1, further comprising: probing the consumer electronic device to determine a state of the consumer electronic device; and reporting said state of the consumer electronic device to a device communicatively coupled to the network.
 11. The method of claim 10, wherein said probing comprises using a light sensitive probe to determine whether the consumer electronic device is on or off.
 12. A legacy device bridge for controlling a consumer electronic device via a network that communicates information in accordance with a packet-based communication protocol, wherein the consumer electronic device is not adapted for communication in accordance with the packet-based communication protocol, the legacy device bridge comprising: a network interface adapted to receive a command from a device communicatively coupled to the network, wherein said command is formatted in accordance with the packet-based communication protocol; conversion means for converting said command into a format suitable for communication with the consumer electronic device; and a legacy device interface for transmitting said converted command to the consumer electronic device.
 13. The legacy device bridge of claim 12, wherein said network interface is adapted to receive a command formatted in accordance with the Internet Protocol.
 14. The legacy device bridge of claim 12, wherein said network interface comprises a wireless network interface.
 15. The legacy device bridge of claim 14, wherein said wireless network interface comprises an interface adapted for communication in accordance with an 802.11 protocol.
 16. The legacy device bridge of claim 12, wherein said conversion means comprises means for converting said command into a format in accordance with an infrared communication protocol.
 17. The legacy device bridge of claim 16, wherein said legacy device interface comprises a wireless infrared interface.
 18. The legacy device bridge of claim 16, wherein said legacy device interface comprises a wired infrared dongle.
 19. The legacy device bridge of claim 12, wherein said conversion means comprises means for converting said command into a format in accordance with a serial communication protocol.
 20. The legacy device bridge of claim 19, wherein said legacy device interface comprises one of a Universal Serial Bus interface or an RS-232 interface.
 21. The legacy device bridge of claim 12, wherein said command comprises a generic command for controlling devices communicatively coupled to the network, and wherein said conversion means comprises means for translating said generic command to at least one proprietary command for controlling the consumer electronic device.
 22. The legacy device bridge of claim 12, further comprising: an infrared beacon, said infrared beacon adapted to transmit an infrared signal to a portable controller device communicatively coupled to the network, said infrared signal for providing said portable controller device with location awareness information.
 23. The legacy device bridge of claim 12, further comprising: virtualization means, said virtualization means comprising means for acquiring a network address for communication with the consumer electronic device and for providing said network address to one or more devices communicatively coupled to the network.
 24. The legacy device bridge of claim 23, wherein said virtualization means further comprises means for providing a command set to said one or more devices communicatively coupled to the network, wherein said command set comprises a list of commands for controlling the consumer electronic device.
 25. The legacy device bridge of claim 24, wherein said means for providing a command set comprises means for providing a command set that complies with the Universal Plug and Play protocol.
 26. The legacy device bridge of claim 12, further comprising: a probe for determining a state of the consumer electronic device; and reporting means for reporting said state of the consumer electronic device to a device communicatively coupled to the network.
 27. The legacy device bridge of claim of claim 26, wherein said probe comprises a light sensitive probe for determining whether the consumer electronic device is on or off.
 28. A network system, comprising: a network that communicates information in accordance with a packet-based communication protocol; a consumer electronic device that is not adapted for communication in accordance with said packet-based communication protocol; a controller device coupled to said network, said controller device adapted to generate a command for controlling said consumer electronic device, wherein said command is formatted in accordance with said packet-based communication protocol; and a legacy device bridge coupled to said network, said legacy device bridge adapted to receive said command via said network, to convert said command into a format suitable for communication with said consumer electronic device, and to transmit said converted command to said consumer electronic device.
 29. The network system of claim 28, wherein said command comprises a generic command for controlling devices communicatively coupled to the network, said network system further comprising: a server coupled to said network, wherein said server is adapted to receive said generic command from said controller device, translate said generic command to at least one proprietary command for controlling said consumer electronic device, and to transmit said at least one proprietary command to said legacy device bridge.
 30. The network system of claim 29, wherein said legacy device bridge is adapted to store a network address associated with said server and to ignore commands received from devices coupled to said network having a network address that is not the same as said network address of said server.
 31. The network system of claim 28, wherein said legacy device bridge is further adapted to transmit an infrared signal comprising a unique identifier of said legacy device bridge to said controller device and wherein said controller device is further adapted to access location awareness information associated with said unique identifier.
 32. The network system of claim 28, further comprising: a server coupled to said network; wherein said legacy device bridge is further adapted to transmit an infrared signal comprising a unique identifier of said legacy device bridge to said controller device, wherein said controller device is further adapted to transmit said unique identifier to said server, and wherein said server is adapted to access location awareness information associated with said unique identifier.
 33. The network system of claim 28, further comprising: a server coupled to said network, wherein said server is adapted to acquire a network address for communication with said consumer electronic device and to provide said network address to one or more devices communicatively coupled to the network.
 34. The network system of claim 28, further comprising: a server coupled to said network, wherein said server is adapted to provide a command set to said controller device, said command set comprising a list of commands for controlling the consumer electronic device.
 35. The network system of claim 34, wherein said server is adapted to provide a command set to said controller device that complies with the Universal Plug and Play protocol. 